﻿<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages.Administration, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" MasterPageFile="~/_admin/admin.master"  Inherits="Havivi.PropertyBagSettings.PropertyBagsSettings, Havivi.PropertyBagSettings, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f4da00116c38ec5" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%--
Property Bag Settings 
By Alon Havivi(havivi@gmail.com, http://havivi.blogspot.com/) 
For full source code and Terms Of Use,
visit http://www.codeplex.com/pbs
--%>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    Use this page to administer properties on your site.
    <hr style="height: 1px; width: 100%; color: Gray" />
    <div>
        <table>
            <tr>
                <td class="ms-descriptiontext ms-inputformdescription" style="width: 100px">
                    Farm:
                </td>
                <td>
                    <asp:Label ID="lblFarm" runat="server" CssClass="ms-descriptiontext ms-inputformdescription"></asp:Label>
                </td>
                <td>
                    <asp:Button ID="btnFarm" runat="server" Text="View Property Bag" OnClick="btnFarm_Click"
                        class="ms-ButtonHeightWidth" Style="width: 100px" />
                </td>
            </tr>
            <tr>
                <td class="ms-descriptiontext ms-inputformdescription" style="width: 100px">
                    Server:
                </td>
                <td>
                    <asp:DropDownList class="ms-long" ID="ddlServer" AutoPostBack="false" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="btnServer" runat="server" Text="View Property Bag" OnClick="btnServer_Click"
                        class="ms-ButtonHeightWidth" Style="width: 100px" Enabled="True" />
                </td>
            </tr>
            <tr>
                <td class="ms-descriptiontext ms-inputformdescription" style="width: 100px">
                    Web Application:
                </td>
                <td>
                    <asp:DropDownList class="ms-long" ID="ddlWebApplications" AutoPostBack="true" runat="server"
                        OnSelectedIndexChanged="ddlWebApplications_SelectedIndexChanged">
                        <asp:ListItem Text="No selection" Value="No selection"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="btnWebApplication" runat="server" Text="View Property Bag" OnClick="btnWebApplication_Click"
                        class="ms-ButtonHeightWidth" Style="width: 100px" Enabled="False" />
                </td>
            </tr>
            <tr>
                <td class="ms-descriptiontext ms-inputformdescription" style="width: 100px">
                    Site Collection:
                </td>
                <td>
                    <asp:DropDownList class="ms-long" ID="ddlSiteCollection" AutoPostBack="true" runat="server"
                        OnSelectedIndexChanged="ddlSiteCollection_SelectedIndexChanged" Enabled="False">
                        <asp:ListItem Text="No selection" Value="No selection"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="btnSiteCollection" runat="server" Text="View Property Bag" OnClick="btnSiteCollection_Click"
                        class="ms-ButtonHeightWidth" Style="width: 100px" Enabled="False" />
                </td>
            </tr>
            <tr>
                <td class="ms-descriptiontext ms-inputformdescription" style="width: 100px">
                    Site:
                </td>
                <td>
                    <asp:DropDownList class="ms-long" ID="ddlSite" AutoPostBack="true" runat="server"
                        OnSelectedIndexChanged="ddlSite_SelectedIndexChanged" Enabled="False">
                        <asp:ListItem Text="No selection" Value="No selection"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="btnSite" runat="server" Text="View Property Bag" OnClick="btnSite_Click"
                        class="ms-ButtonHeightWidth" Style="width: 100px" Enabled="False" />
                </td>
            </tr>
            <tr>
                <td class="ms-descriptiontext ms-inputformdescription" style="width: 100px">
                    List:
                </td>
                <td>
                    <asp:DropDownList class="ms-long" ID="ddlFolder" AutoPostBack="true" runat="server"
                        Enabled="False" OnSelectedIndexChanged="ddlFolder_SelectedIndexChanged">
                        <asp:ListItem Text="No selection" Value="No selection"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="btnFolder" runat="server" Text="View Property Bag" class="ms-ButtonHeightWidth"
                        Style="width: 100px" Enabled="False" OnClick="btnFolder_Click" />
                </td>
            </tr>
        </table>
    </div>
    <hr style="height: 1px; width: 100%; color: Gray" />
    <asp:Label ID="Header" runat="server" Text=""></asp:Label>
    <asp:Label ID="PropertyTable" runat="server" Text=""></asp:Label>
    <hr style="height: 1px; width: 100%; color: Gray" />
    <div style="width: 100%; text-align: right">
        <small>Property Bag Settings by <a href="http://havivi.blogspot.com" target="_blank">
            Alon Havivi</a></small></div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Property Bag Settings
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    Property Bag Settings
</asp:Content>
